// 请求地址
const baseUrl = (function() {
    // return 'https://zfx.xmonecode.com/api';
    // return 'http://xiaoyutestonecode.test.utools.club';
    return 'http://192.168.0.116:7001';

    let proxy = 'pc';

    if (proxy) {
        uni.setStorageSync('proxy', proxy);
    } else {
        proxy = uni.getStorageSync('proxy') || 'dev';
    }

    switch (process.env.NODE_ENV) {
        case 'development':
            return `/${proxy}`;
        case 'production':
            return `/api`;
        default:
            return ``;
    }
})();

// 模板id
const templateIds = [
    'M9Q6dUXOqqitPynyLv-M-OgL5yyXkbGYuHHe0_DSzNc',
    'STW34g4Qj1wgjlNtwQh-ZDAUzPBwVTDgxeFelXZhTBA'
];

// 小程序appid
const appId = 'wx454ba8818fbf2557';

// 全局token
const token = '';

export { baseUrl, token, templateIds, appId };
